<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>品牌价值创意库</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
    <meta name="keywords" content="CreativeGallery" />
    <meta name="description" content="CreativeGallery" />
    <link rel="shortcut icon" href="__IMG__/logo.jpg" />
	<link rel="stylesheet" type="text/css" href="__CSS__/index.css?v=1"/>
    <link rel="bookmark" href="/logo.jpg" type="image/x-icon"　/>
    <link rel="stylesheet" type="text/css" href="__CSS__/style.css" />
	<link rel="stylesheet" type="text/css" href="__CSS__/swiper-3.3.1.min.css"/>
	<script>
	var _hmt = _hmt || [];
	(function() {
	  var hm = document.createElement("script");
	  hm.src = "https://hm.baidu.com/hm.js?53c51aa6940285de8a15fa0370f52fc4";
	  var s = document.getElementsByTagName("script")[0]; 
	  s.parentNode.insertBefore(hm, s);
	})();
	</script>
	<style type="text/css">
	    .header_search .title_word{
	        width: 364px;
	        height:60px;
	    }
	    .header_search_input{
	        width: 391px;
	        height: 37px;
	    }
		.xdebug-var-dump:first-child{
			padding-top:70px;
		}
	</style>
	<script>
	//JS文件全局常量
		GV={
			'IMG':"__IMG__",
			'JS':"__JS__",
			'APP':"__APP__",
		}
	
	
	
	
	</script>
</head>

<body>

    <!-- 头部和头部菜单 开始-->
   <div id="header" style="{$showBg?'':'height:60px'}" >
        <div id="header_fix" class="{$showBg?'':fix}" >
	        <a href="__APP__" class="logo insight_logo" target="_blank"><img src="__IMG__/Insight_logo.png" alt="" /></a>
	        
	        <ul class="head_nav">
				<li class="fl name">
					<notempty name="user_name">
						<span class="name_hover hover">{$user_name}</span>，您好！
						<else />
						<a href="{:U('Public/login')}" target="_blank" style="color: white;">登录</a>
					</notempty>
					<ul class="head_nav_nameul">
						<li>
							<a href="{:U('User/index')}" target="_blank">个人中心</a>
						</li>
<!-- 						<li>
							<a href="#">修改密码</a>
						</li> -->
						<li>
							<a href="{:U('Public/logout')}" target="_blank">退出账号</a>
						</li>
					</ul>
				</li>
				<li class="nav_line fl"></li>
				<li class="fl message">
					<a href="{:U('MyMessage/index')}"  class="message_hover hover" style="position: relative;">
						消息
						<neq name='count_comment' value='0'>
						
							<span style="position: absolute;right:-8px;top:-5px;display: inline-block;width:16px;height:16px;line-height: 16px;border-radius: 18px;background-color: #f43530;color: #fff;line-height: 1.2;text-align: center;font-size: 12px;vertical-align: middle;">{$count_comment}</span>
						</neq>
					</a>
				</li>
				<li class="fl favorites">
					<a href="{:U('MyFavorite/index')}">收藏夹</a>
				</li>
				<li class="fl history">
					<a href="{:U('MyHistory/index')}" class="history_hover hover" target="_blank">历史</a>
					<ul class="head_nav_historyul">
						<notempty name='history_today'>
						
						<li>
							今天      ———————
						</li>
						<volist name='history_today' id='vo'>
							
							<li class="head_nav_historyli">
								<a href="{:U('Index/detail',['id'=>$vo[pro_id]])}" title="{$vo.title}" target="_blank">
									<span>●</span>{$vo.title}
								</a>
							</li>
						</volist>
						<li class="head_nav_historymore">
							<a href="{:U('MyHistory/index')}" target="_blank">查看更多&nbsp;&gt;</a>
						</li>
						
						<else />
							<li>暂无历史</li>
						</notempty>

					</ul>
				</li>
				<div class="clear"></div>
			</ul>
			<neq name='showSearchbar' value='hide'>
		        <div class="header_search" >
		            <div class="title_word"></div>
		            <form class="header_search_input_out" id='header_search_form'  method="get" action="__APP__">
		            	<div class="header_search_select">
		            		<span>{$searchBar[$searchBarKey]|default='全部'}</span>
		            		<ul>
		            			<foreach name='searchBar' item='vo' key='k'>
			            			<li>
			            				<a href="javascript:;" name='{$k}' target="_blank">{$vo}</a>
			            			</li>
		            			</foreach>
	
		            		</ul>
		            	</div>
		                <input placeholder="" type="text"  value="{$searchBarVal|default=''}" class="header_search_input" id="search" name="{$ssearchBarKey|default='all'}" autocomplete="off">
		                <notempty name='search'><input type="hidden" name='search' value='{$search}' /></notempty>
		                <input type="hidden" name='c' value='Search' />
		                <input type="hidden" name='a' value='index' />
		                <input  class="search_button" type="submit" id='header_search_btn'/>
		                
		            </form>
		            <div class="hot_serach"> 热门搜索：

	            		<volist name='search_keyword_hot' id='vo' offset="0" length='6'>
	            			<a href="{:u('search/index',['title'=>$vo])}" target="_blank">{$vo}</a>&nbsp;&nbsp;
	            		</volist>
		            		

		            </div>
		        </div>
			</neq>
      	</div>
      	<present name='slide_index'>
	      	<div class="swiper-container index_swiper">
			    <div class="swiper-wrapper">
	  			    <volist name='slide_index' id='vo'>
	  			    	<eq name='vo.type' value='2'>
			  			    <div class="swiper-slide">
						    	<video muted style="display: block;height: auto;position: relative;visibility: visible;width: 100%;object-fit: contain;background: transparent;">
						    		<source src="{$vo.slide_video}" type="video/mp4"></source>
						    	</video>
					    		<a href="{$vo.slide_url}" target="_blank"><p class="header_text">{$vo.slide_name}</p></a>
					    	</div>
					    	
					    	<else />
					    	
					    	<div class="swiper-slide" style="background: url({$vo.slide_pic}) center; background-size:  100% 100% ;">
					    		<a href="{$vo.slide_url}" target="_blank"><p class="header_text">{$vo.slide_name}</p></a>
					    	</div>			    	
	  			    	</eq>
	  			    	
	  			    	
			    	</volist> 
			    </div>
			    <div class="swiper-button-prev swiper-button-white index-button-prev"></div>
			    <div class="swiper-button-next swiper-button-white index-button-next"></div>
			</div>
      	</present> 	
   </div>


